package com.aruntech;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

public class MyApp {

	public static void main(String[] args) {
		Resource  resource = new ClassPathResource("appicationContext.xml");
		BeanFactory factory = new XmlBeanFactory(resource);
		Employee emp = factory.getBean("emp", Employee.class);
		emp.display();
//https://javamailtestapp.googlecode.com/svn/trunk/
	}

}
